<?php

/*
=====================================================
 Generic Toolbox - by Carl Wells
-----------------------------------------------------
-----------------------------------------------------
 Copyright (c) 2009 Carl Wells
=====================================================
 THIS IS COPYRIGHTED SOFTWARE
 PLEASE READ THE LICENSE AGREEMENT
=====================================================
 File: system/display/admindisplay.class.php
-----------------------------------------------------
 Purpose: This file builds all visual aspects of the Admin Section.
 All browser output is managed by this file.
=====================================================
*/
class Admindisplay extends Genericdisplay
{

var $sectors;


	function display_header(){
	
		$header = "<div id=\"topsection\"><div class=\"innertube\">";
		
		// GET INFO FROM DATABASE
		
		$header .= "<h1>".SITENAME." Admin</h1>";
		
		$header .= "</div></div>";
		
        return $header;
        
        }
        
   
  	
  	// Display the main navigation for the Control Panel
  	// TO BE PULLED FROM A DB LATER A POSSIBILITY
	function display_main_admin_nav(){
	
		$nav = "";
		$nav .="<ul class=\"sexypanels\">\n";
		$nav .="<li><a href=\"index.php?act=sections\">Sections</a></li>\n";
		$nav .="<li><a href=\"index.php?act=promos&amp;sector=1\">Promotions</a></li>\n";
		$nav .="<li><a href=\"index.php?act=pos\">Add POS Item</a></li>\n";
		$nav .="<li><a href=\"users.php\">Users</a></li>\n";
		$nav .="</ul>\n";
		
		return $nav;
	
	}

}

?>